use inc::Module::Install;

name 'WIAB';
all_from 'lib/WIAB.pm';

requires 'Catalyst::View::TT' => '0.23';
requires 'Catalyst::Runtime' => '5.7007';
requires 'Catalyst::Plugin::ConfigLoader';
requires 'Catalyst::Plugin::Static::Simple';
requires 'Catalyst::Plugin::Unicode';
requires 'Catalyst::Plugin::Authentication::Store::Htpasswd';
requires 'Catalyst::Plugin::Authentication::Credential::Password';
requires 'Catalyst::Plugin::Session';
requires 'Catalyst::Plugin::Session::Store::File';
requires 'Catalyst::Plugin::Session::State::Cookie';
requires 'Catalyst::Action::RenderView';
requires 'YAML'; # This should reflect the config file format you've chosen
                 # See Catalyst::Plugin::ConfigLoader for supported formats


# non catalyst CPAN modules required by WIAB
requires 'DateTime';
requires 'File::Copy::Recursive';
requires 'File::Finder';
requires 'File::Slurp';
requires 'HTTP::Date';
requires 'Lingua::EN::Summarize';
requires 'Path::Class';
requires 'Text::FixEOL';
requires 'Text::Textile';
requires 'WWW::Google::SiteMap' => '1.09';
requires 'XML::Feed';
requires 'Template' => '2.15';
requires 'Text::Sentence';

catalyst;

install_script glob('script/*.pl');
auto_install;
WriteAll;
